Repository navigation
fix(ui): the action key inventory lists disabledReason - #26859
Merged
Merged
Conversation
SPEC_ACTION_KEYS restates every key ActionSchema declares. The spec half of the disabledReason card added the key to ActionSchema, so the inventory pin on main reports it missing. One row restores it. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfhobWEgUUrjz4rrbh
7 of 9 tasks
…angeset ui/.changeset is the imported objectui directory, which the changeset gate does not count. Packages under ui/ release through the root .changeset. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfhobWEgUUrjz4rrbh
This was referenced Oct 27, 2026
8 tasks done
This was referenced Oct 27, 2026
Merged
This was referenced Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #26619. This is a main-red hotfix for the spec half (#26786). The console half is still the PR that closes the card.
Clause-②: no
Metadata-protocol: none
Skills-docs: none (a test-inventory row, no authoring surface)
维护者速读
ui/packages/core的SPEC_ACTION_KEYS补上一行disabledReason。disabledReasonbesidedisabled#26786 给ActionSchema加了disabledReason,但 objectui 的动作键清单没跟上,actionKeys.pin.test.ts在 main 上报 missing['disabledReason'],Test UI 红,所有合并 main 的分支都受影响。What changes
ui/packages/core/src/actions/actionKeys.ts:SPEC_ACTION_KEYSgains'disabledReason'after'disabled'. The list restates every key the spec'sActionSchemadeclares, and feat(spec): a greyed action says why —disabledReasonbesidedisabled#26786 added that key. An action that carries it is no longer counted as having an unknown key..changeset/26619-action-keys-disabled-reason.md:@object-ui/corepatch. (The root.changeset, which the changeset gate counts;ui/.changesetis the imported objectui directory.)Why
actionKeys.pin.test.tscomparesSPEC_ACTION_KEYSwith the keys of the builtActionSchema. Since #26786 merged (13dc413f), it fails onmainwithmissing: ['disabledReason']. That turns Test UI red onmain(8eef9a8d) and on every branch that mergesmain. The failure was reproduced by another card's dev (standing-down comment 6450604330 on PR #26831).Verification
main8eef9a8d: the pin'smissingset is['disabledReason']and nothing else.Human Minimum
packages/specholds no runtime logic. (packages/specis not touched.)pnpm lintpasses.main, one pull request.packages/spectouched: its generated artifacts are regenerated and committed. (Not touched.)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code